package com.lys.emsystem.controller;

import com.lys.emsystem.utils.Result;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.*;

import javax.servlet.http.HttpSession;


@RestController
@Api(tags = "测试接口")
public class DemoController {


    @GetMapping("/test")
    @ApiOperation(value = "演示")
    public Result<Object> test(HttpSession session) {
        return Result.buildResult(Result.Status.OK, "hello");
    }
}
